<i-form :model="this.data" class='app-form' ref='form'  id='emitemcs_main3' style="" @on-validate="formItemValidate.apply(_self, arguments)">
    <input style="display:none;" />
    <row >
    <tabs :animated="false" size="small" name='main3' :value="detailsModel.form.activiedPage" 
        @on-click="detailsModel.form.clickPage($event)">
            <tab-pane v-show="detailsModel.formpage1.visible" name='formpage1' :index="0" tab='main3' class=''  
                :label="(h) =>{
                    return h('span',{
                        class:'caption'
                    },[
                    $t('entities.emitemcs.main3_form.details.formpage1')
                    ])
                }">
                    <i-col class="form-layout-container" v-show="detailsModel.grouppanel2.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.grouppanel2" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.emitemcs.main3_form.details.grouppanel2')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.grouppanel2" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.emitemcsid.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='emitemcsid' :itemRules="this.rules().emitemcsid" class='' :caption="$t('entities.emitemcs.main3_form.details.emitemcsid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.emitemcsid.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.emitemcsid"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.emitemcsid.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.itemname.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='itemname' :itemRules="this.rules().itemname" class='' :caption="$t('entities.emitemcs.main3_form.details.itemname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.itemname.error" :isEmptyCaption="false" labelPos="LEFT">
    
  <app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.itemname.disabled"
    name='itemname'
    deMajorField='emitemname'
    deKeyField='emitem'
    :service="service"
    :acParams="{ serviceName: 'EMItemService', interfaceName: 'FetchDefault'}"
    valueitem='itemid' 
    :value="data.itemname"
    :pickupView="{ viewname: 'emitempickup-view', title: $t('entities.emitem.views.pickupview.title'), deResParameters: [{ pathName: 'emservices', parameterName: 'emservice' }, ], parameters: [{ pathName: 'emitems', parameterName: 'emitem' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
  </app-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.sdate.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='sdate' :itemRules="this.rules().sdate" class='' :caption="$t('entities.emitemcs.main3_form.details.sdate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.sdate.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.sdate" :disabled="detailsModel.sdate.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.sdate = val1 }"></date-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.sempname.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='sempname' :itemRules="this.rules().sempname" class='' :caption="$t('entities.emitemcs.main3_form.details.sempname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.sempname.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-group-select
  name="sempname"
  :value='data.sempname'
  valueitem="sempid"
  url="/ibzorganizations/${selected-orgid}/ibzemployees/picker"
  treeurl="/ibzorganizations/${orgid}/suborg/picker"
  :multiple="false"
  filter="srforgid"
  :fillmap="{'id':'sempid','label':'sempname'}"
  :disabled="detailsModel.sempname.disabled"
  :data="data"
  :context="context"
  @formitemvaluechange="onFormItemValueChange.apply(_self, arguments)">
</app-group-select>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.stockname.visible" :style="{}"  :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
    <app-form-item name='stockname' :itemRules="this.rules().stockname" class='' :caption="$t('entities.emitemcs.main3_form.details.stockname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.stockname.error" :isEmptyCaption="false" labelPos="LEFT">
    
  <app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.stockname.disabled"
    name='stockname'
    deMajorField='emstockname'
    deKeyField='emstock'
    :service="service"
    :acParams="{ serviceName: 'EMStockService', interfaceName: 'FetchDefault'}"
    valueitem='stockid' 
    :value="data.stockname"
    :pickupView="{ viewname: 'emstockpickup-view', title: $t('entities.emstock.views.pickupview.title'), deResParameters: [{ pathName: 'emitems', parameterName: 'emitem' }, ], parameters: [{ pathName: 'emstocks', parameterName: 'emstock' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
  </app-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.psum.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='psum' :itemRules="this.rules().psum" class='' :caption="$t('entities.emitemcs.main3_form.details.psum')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.psum.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.psum"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.psum.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.price.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='price' :itemRules="this.rules().price" class='' :caption="$t('entities.emitemcs.main3_form.details.price')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.price.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.price"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.price.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.amount.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='amount' :itemRules="this.rules().amount" class='' :caption="$t('entities.emitemcs.main3_form.details.amount')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.amount.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.amount"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.amount.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.batcode.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='batcode' :itemRules="this.rules().batcode" class='' :caption="$t('entities.emitemcs.main3_form.details.batcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.batcode.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.batcode"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.batcode.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.storename.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='storename' :itemRules="this.rules().storename" class='' :caption="$t('entities.emitemcs.main3_form.details.storename')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.storename.error" :isEmptyCaption="false" labelPos="LEFT">
    
  <app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.storename.disabled"
    name='storename'
    deMajorField='emstorename'
    deKeyField='emstore'
    :service="service"
    :acParams="{ serviceName: 'EMStoreService', interfaceName: 'FetchDefault'}"
    valueitem='storeid' 
    :value="data.storename"
    :pickupView="{ viewname: 'emstorepickup-view', title: $t('entities.emstore.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'emstores', parameterName: 'emstore' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
  </app-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.storepartname.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='storepartname' :itemRules="this.rules().storepartname" class='' :caption="$t('entities.emitemcs.main3_form.details.storepartname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.storepartname.error" :isEmptyCaption="false" labelPos="LEFT">
    
  <app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.storepartname.disabled"
    name='storepartname'
    deMajorField='emstorepartname'
    deKeyField='emstorepart'
    :service="service"
    :acParams="{ serviceName: 'EMStorePartService', interfaceName: 'FetchDefault'}"
    valueitem='storepartid' 
    :value="data.storepartname"
    :pickupView="{ viewname: 'emstorepartpickup-view', title: $t('entities.emstorepart.views.pickupview.title'), deResParameters: [{ pathName: 'emstores', parameterName: 'emstore' }, ], parameters: [{ pathName: 'emstoreparts', parameterName: 'emstorepart' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
  </app-picker>

</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


            </tab-pane> 
            <tab-pane v-show="detailsModel.formpage14.visible" name='formpage14' :index="1" tab='main3' class=''  
                :label="(h) =>{
                    return h('span',{
                        class:'caption'
                    },[
                    $t('entities.emitemcs.main3_form.details.formpage14')
                    ])
                }">
                    <i-col class="form-layout-container" v-show="detailsModel.grouppanel15.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.grouppanel15" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel15.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.emitemcs.main3_form.details.grouppanel15')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.grouppanel15" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.orgid.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='orgid' :itemRules="this.rules().orgid" class='' :caption="$t('entities.emitemcs.main3_form.details.orgid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.orgid.error" :isEmptyCaption="false" labelPos="LEFT">
    
<dropdown-list 
    v-model="data.orgid"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.orgid.disabled"
    valueType="string"
    tag='PFCL_ORG'
    codelistType='STATIC'
    placeholder='请选择...'
    
/>
</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.description.visible" :style="{}"  :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
    <app-form-item name='description' :itemRules="this.rules().description" class='' :caption="$t('entities.emitemcs.main3_form.details.description')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.description.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.description"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.description.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.createman.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='createman' :itemRules="this.rules().createman" class='' :caption="$t('entities.emitemcs.main3_form.details.createman')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.createman.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-span name='createman' :value="data.createman" dataType="TEXT"     :precision="0"
tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }'  :localParam ='{ }'  style="">  
</app-span>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.createdate.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='createdate' :itemRules="this.rules().createdate" class='' :caption="$t('entities.emitemcs.main3_form.details.createdate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.createdate.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-span name='createdate' :value="data.createdate" dataType="DATETIME" valueFormat="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"     :precision="0"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }'  :localParam ='{ }'  style="">  
</app-span>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.updateman.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='updateman' :itemRules="this.rules().updateman" class='' :caption="$t('entities.emitemcs.main3_form.details.updateman')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.updateman.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-span name='updateman' :value="data.updateman" dataType="TEXT"     :precision="0"
tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }'  :localParam ='{ }'  style="">  
</app-span>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.updatedate.visible" :style="{}"  :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
    <app-form-item name='updatedate' :itemRules="this.rules().updatedate" class='' :caption="$t('entities.emitemcs.main3_form.details.updatedate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.updatedate.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-span name='updatedate' :value="data.updatedate" dataType="DATETIME" valueFormat="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"     :precision="0"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }'  :localParam ='{ }'  style="">  
</app-span>

</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


            </tab-pane> 
    </tabs>
    </row>
</i-form>
